Background
The afrobarometer_ngr data is a publicly available data
set from Afrobarometer,
an non-profit African survey organization based in Ghana. According to
their website, they “conducts public attitude surveys on democracy,
governance, the economy, and society.” The data set is part of their
many data sets from African countries. Specifically, the
afrobarometer_ngr data set is a 2022 8th round
comprehensive survey on several topics from perceptions of democracy,
elections and the media to attitudes towards different institutions in
Nigeria.

Overall Trust
The plots in this page explored the level of trust Nigerians had in different institutions. Overall, Religious and Traditional leaders are the most trusted group of people. The National Assembly, which is the main legislative body in the country as well as the Police were the least trusted groups in Nigeria.
First Iteration
This is the first stacked plot that I made but the x-axis was not in percent. I also had gridlines behind the plot that made it a little to cumbersome.

Overall Trust
The plots in this page explored the level of trust Nigerians had in different institutions. Overall, Religious and Traditional leaders are the most trusted group of people. The National Assembly, which is the main legislative body in the country as well as the Police were the least trusted groups in Nigeria.
Final Overall Trust
I fixed all the issues pointed out in the first iteration.

First Iteration
Next, I wanted to plot the trust scores for the President and religious leaders who were the most trusted by states. So at first, I plotted a non-interactive map but I needed to make it interactive.
Trust in President/ Religious Leaders by State
Religious leaders are the most trusted groups in Nigeria. The map
showing states that trust the president the most and the least. As is
evident, States in the North (Islamic Majority) are more trusting of the
President and Religious Leaders compared to the states in the South
(Christian Majority). The map showing states that trust the president
the most and the least. I finally used the tmap package
which helped plot the map interactively. It was then easier to plot the
other map.
